package com.esp.studentManagementSystem.pojo.po.entity.ID;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Embeddable
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleUserId  implements Serializable {

    @Column(name = "uid", nullable = false)
    private Integer uid;

    @Column(name = "rid", nullable = false)
    private Integer rid;
}
